#ifndef MODBUSTHREAD_HPP
#define MODBUSTHREAD_HPP
#include <stdint.h>
#include <stdbool.h>
#include "firmwaredownload.hpp"
#include "protocolmodbus.hpp"

#define MODBUSTHREAD_DN_PUBLIC_NAME				"uart/sbs"
#define MODBUSTHREAD_DN_SUBSCRIBE_NAME		"uart/pub"
#define MODBUSTHREAD_UP_PUBLIC_NAME				"com/pub"
#define MODBUSTHREAD_UP_SUBSCRIBE_NAME		"com/sbs"

void ModbusThreadInit(ota::firmwaredownload *tfirmwaredownload);

#endif
